<?  
 include('class/class.phpmailer.php');  
 error_reporting(E_ALL);    
                    $to = 'qateam2@netneighbours.com';
                    $mail = new PHPMailer();
					$mail->IsMail();
					$mail->FromName = "NOOBSKOOL Admin";
					$mail->From    =  'noobskool@gmail.com';
					$mail->Subject =  "Sucessfull Registration";
					$mail->Body    = 'Please CHeck';
					$mail->IsHTML(true);
					$mail->AddAddress($to);
	                if($mail->Send())
	                  echo 'SEND';
		           else
		              echo 'ERROR';  
	   
  /*   $subject  = 'Email Checking';
		$message  = '<h3>Dear Administrator,</h3>';
		$message .= '<p>Please CHeck </p>';
		$headers  = 'MIME-Version: 1.0' . "\r\n";
		$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
		$headers .= 'From: info@noobskool.net' . "\r\n" .
				    'X-Mailer: PHP/' . phpversion();
		
		if(mail('qateam2@netneighbours.com', $subject, $message, $headers))
		  echo 'SEND';
		else
		  echo 'ERROR';  */ 
	  
?>		